Update dependency @turf/centroid to v7 #161
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.5.0->^7.0.0Release Notes
Turfjs/turf (@turf/centroid)
v7.2.0Compare Source
What's Changed
Fixes to regressions and significant pain points:
line-intersectby @pm0u in #2742boolean-disjointby @pm0u in #2772boolean-intersectsby @pm0u in #2773Bug fixes and new functionality:
Housekeeping and behind the scenes changes:
New Contributors
Full Changelog: Turfjs/turf@v7.1.0...v7.2.0
v7.1.0Compare Source
What's Changed
@turf/distanceSimplify unnecessary union type in turfDistance by @isti115 in #2618@turf/helpersReduce bundle size of apps that import @turf/helpers by @smallsaucepan in #2623@turf/line-overlapchange deep-equals dependency for smaller bundle size by @mfedderly in #2631@turf/maskConverted turf-mask to Typescript and added support for geometry parameters by @smallsaucepan in #2644@turf/midpointConverted turf-midpoint to Typescript by @smallsaucepan in #2645@turf/planepointConverted turf-planepoint to Typescript by @smallsaucepan in #2646@turf/squareConverted turf-square to Typescript by @smallsaucepan in #2648@turf/standard-deviational-ellipseConverted turf-standard-deviational-ellipse to Typescript by @smallsaucepan in #2649@turf/tesselateConverted turf-tesselate to Typescript by @smallsaucepan in #2650@turf/transform-rotateConverted turf-transform-rotate to Typescript by @smallsaucepan in #2651@turf/transform-scaleConverted turf-transform-scale to Typescript by @smallsaucepan in #2652@turf/transform-translateConverted turf-transform-translate to Typescript by @smallsaucepan in #2653@turf/unkink-polygonConverted turf-unkink-polygon to Typescript by @smallsaucepan in #2654@turf/voronoiConverted turf-voronoi to Typescript by @smallsaucepan in #2655@turf/boolean-intersectsFix boolean-intersects docs by @izzybps in #2593@turf/area: bug fix: off-by-one bug in area calculation by @Abdumbo99 in #2665@turf/isobands@turf/isolinesRemove unused matrix-to-grid dependency by @mfedderly in #2669@turf/randomfix randomPolygon generating polygons outside of the givenbboxby @nnmrts in #2659@turf/boolean-intersects@turf/booean-disjointExpose options parameter to ignore self intersections. by @01100100 in #2636@turf/boolean-validfix checkClosingRing to check for polygon being closed by @superDoss in #2563@turf/helpersImplemented azimuthToBearing by @basvdijk in #2674@turf/nearest-point-on-lineinclude index of MultiLineString geometries in nearest-point-on-line by @andrewharvey in #2574@turf/point-to-line-distanceFix two small typos by @mfedderly in #2675@turf/maskStop turf-mask mutating by default, make it an option by @farkmarnum in #2635@turf/maskFix @turf/mask benchmarks to exclude test fixtures that are not usable by @mfedderly in #2692@turf/kinksRevert @turf/kinks to 6.5.0 version by @mfedderly in #2693@turf/cluster-dbscanUpdate cluster-dbscan docs by @mwenko in #2624@turf/*-grid@turf/area@turf/helpersClarify behavior of some existing turf modules by @twelch in #2683New Contributors
Full Changelog: Turfjs/turf@v7.0.0...v7.1.0
v7.0.0Compare Source
@turf/helpersCorrect the conversion factor for degrees (#2177)@turf/helperspolygon() will now throw if the first and last coordinates are not the same (#2173)@turf/helpersSeparate AreaUnits into its own type (#2393)@turf/areaFix earth radius to use WGS84 median earth radius (#2166)@turf/turfRemove re-exports for turf 4.x compatability (#2183)@turf/rectangle-gridFix correctness for large areas (#2106)@turf/unionAccept FeatureCollection for multiple inputs (#2247)@turf/differenceAccept FeatureCollection for multiple inputs (#2247)@turf/intersectAccept FeatureCollection for multiple inputs (#2247)@turf/bufferAdd undefined return for when the geometry is invalid (#2613)🏅 New Features/Enhancements
@turf/kinksMove to sweepline-intersections library for performance (#1896)@turf/boolean-equalAdd option for precision (#2231)@turf/boolean-point-in-polygonMove to point-in-polygon-hao library for performance and correctness (#1893)@turf/line-intersect][line-intersect] Move to sweepline-intersections library for performance (#2033)@turf/boolean-containsAdd multipolygon support (#2338)@turf/nearest-pointAdd unit option (#2415)@turf/voronoiRetain properties from points (#1450)🐛 Bug Fixes
@turf/polygon-smoothOptions argument is now actually optional (#2149)@turf/polygon-smoothFix crashes with polygons containing multiple holes (#2323)@turf/line-arcEnsure all points are generated when the first and last points are the same (#2142)@turf/cloneFix cloning of features with null geometries (#2316)@turf/dissolveNow correctly depends on @turf/flatten (#2345)@turf/clean-coordsAllow 3 coordinate closed LineStrings (#2178)@turf/helpersAdd alternate spellings for Units: millimetres, centimetres, metres, kilometres (#2168)@turf/ellipseAdd pivot and angle options to typescript (#2174)@turf/quadrat-analysisFix test flake (#2182)@turf/bboxUse input bbox instead of computing it (#2171)@turf/transform-scaleRemoves invalid bbox when scaling (#2171)@turf/invariantgetCoord now shallow clones its result to prevent accidental mutations (#2167)@turf/line-overlapIdentify multiple overlaps on a single segment (#2134)@turf/transform-scaleFix factor to allow only numbers >= 0 (#2169)@turf/voronoiMake options optional (#2195)@turf/boolean-withinFix multipoint checks (#2216)@turf/points-within-polygonFix dropped properties on MultiPoint results (#2227)@turf/randomThrows error on invalid bbox inputs (#2172)@turf/boolean-parallelLines with 180 degree angle between them are also considered parallel (#2475)@turf/unkink-polygonFix a maximum call stack size exceeded error with very large polygons (#2504)@turf/line-arcNumber of arc segments generated wasn't related to steps value passed in (#2524)@turf/boolean-equalReplace geojson-equality with new implementation (#2531)@turf/boolean-overlapReplace geojson-equality with new implementation (#2531)@turf/boolean-withinNow correctly checks that the final point is contained (#2599)📖 Documentation
[
@turf/bbox][bbox] Improve documentation (#2153)[
@turf/great-circle][great-circle] Add license for arc.js (#2175)@turf/boolean-crossesDocument OpenGIS Simple Feature Spec requirement (#2184)@turf/turf-cloneNow has more useful Typescript inference (#2239)@turf/centroidImprove docs (#2213)@turf/bufferClean up Typescript types (#2188)@turf/polygon-smoothClean up a typo (#2293)@turf/nearest-point-on-lineClean up typescript types (#2296)@turf/boolean-touchesAdd boolean-touches to docs (#2431)@turf/boolean-equalImprove docs (#2412)Remove Bower references (#2146)
Fix typo in README (#2313)
Lots of cleanup for CONTRIBUTING, README, and RELEASING (#2186)
Fix docs generation (#2279)
Add a link to turf_dart (#2286)
🔔 Misc
@turf/simplifyClean up internals for less object churn (#2561)Configuration
📅 Schedule: Branch creation - "before 7am every weekday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.